<div class="card">
  <div class="card-header">
    <h5 class="mb-0">添加用户</h5>
  </div>
  <div class="card-body">
    <form method="POST" action="/users/add">
      <div class="mb-3">
        <label class="form-label">用户名</label>
        <input type="text" class="form-control" name="username" required>
      </div>
      <div class="mb-3">
        <label class="form-label">密码</label>
        <input type="password" class="form-control" name="password" required>
      </div>
      <div class="d-flex justify-content-between">
        <button type="submit" class="btn btn-primary">保存</button>
        <a href="/users" class="btn btn-secondary">返回</a>
      </div>
    </form>
  </div>
</div> 